.class Lcom/waiqin365/lightapp/diaobodan/i;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/view/ch;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/util/List;)V
    .locals 6

    const/4 v5, 0x0

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->i(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew;->h()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->i(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew;->h()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/chexiao/c/v;

    move-object v1, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->m(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew;->h()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->m(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew;->h()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/chexiao/c/v;

    :goto_1
    if-eqz v1, :cond_4

    if-eqz v0, :cond_4

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/chexiao/c/v;->a()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/c/v;->a()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    const v3, 0x7f08086e

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->showToast(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->i(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew;->setSelectedItem(Lcom/waiqin365/lightapp/dailyreport/c/a;)V

    :cond_0
    :goto_2
    return-void

    :cond_1
    move-object v1, v2

    goto :goto_0

    :cond_2
    move-object v0, v2

    goto :goto_1

    :cond_3
    iget-object v3, v1, Lcom/waiqin365/lightapp/chexiao/c/v;->c:Ljava/lang/String;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/v;->c:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, v1, Lcom/waiqin365/lightapp/chexiao/c/v;->c:Ljava/lang/String;

    const-string/jumbo v3, "2"

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    const v3, 0x7f08086f

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->showToast(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->i(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew;->setSelectedItem(Lcom/waiqin365/lightapp/dailyreport/c/a;)V

    goto :goto_2

    :cond_4
    if-eqz v1, :cond_5

    iget-boolean v0, v1, Lcom/waiqin365/lightapp/chexiao/c/v;->d:Z

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    iget-object v3, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    const v4, 0x7f080870

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x1

    new-array v4, v4, [Ljava/lang/Object;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/v;->b:Ljava/lang/String;

    aput-object v1, v4, v5

    invoke-static {v3, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->showToast(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->i(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew;->setSelectedItem(Lcom/waiqin365/lightapp/dailyreport/c/a;)V

    goto :goto_2

    :cond_5
    if-eqz v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/chexiao/c/v;->a()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->a(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/i;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->w(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/diaobodan/d/a;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/diaobodan/d/a;->a(Lcom/waiqin365/lightapp/chexiao/c/v;)V

    goto :goto_2
.end method
